package org.his.service;

import java.util.List;

import org.his.entity.Registration;

public interface RegistrationService {
	//生成排队号
	String queryCountWait(Registration waitregistration);
	//生成病案号
	String newMedicalrecord(String registrationdate,String doctorno,String countString);
	//新增挂号表信息（返回影响行数）
	int addRegistration(Registration addRegistration);
	//获取等待病人
	List<Registration> queryWaitPatientByFrom(Registration queryRegistration);
	
	Registration queryByMedicalrecord(String medicalrecord);
	//更新就诊状态
	int updateState(String medicalrecord);
}
